package com.lilicould.service;

import com.lilicould.entity.Employee;
import com.lilicould.entity.EmployeeDetails;

import java.util.ArrayList;

public interface EmployeeService {
    Employee getEmployeeById(String id);

    ArrayList<Employee> getAllEmployees();

    ArrayList<String> getRoleNamesById(String employeeId);

    ArrayList<String> getSkillsById(String employeeId);

    // 通过员工ID查询用户名
    String getUserNameById(String employeeId);

    //更新员工信息
    boolean updateEmployee(Employee employee);

    // 查询所有员工详情
    ArrayList <EmployeeDetails> getAllEmployeeDetails();
}
